#parse("common/header-simple.html")
<!--顶部菜单 end-->
<div class="index-header h98 mb30">
  <div class="c-container page-header"> 
    
    <!--导航-->
    <div class="c-container page-content">
      <div class="nav-bar">
        <div class="floatleft"> <a href="$!{form.domain}/"> <img src="$!{form.domain}/img/logo.png" /> </a> </div>
        <ul>
          <li class="active ml20"><a href="$!{form.domain}" target="_self">学院首页</a></li>
          <li><a href="$!{form.domain}/articles/list" target="_self">公告</a></li>
          <li><a href="$!{form.domain}/articles/information" target="_self">资讯</a></li>
          <li><a href="$!{form.domain}/resource/info" target="_self">资源库</a></li>
          <li><a href="$!{form.domain}/user/group" target="_self">校友会</a></li>
          <li><a href="$!{form.domain}/course/list" target="_self">课程中心</a></li>
        </ul>
        <div class="logo-section pt10">
          <div class="shop-cart in_block"> <a href='$!{form.domain}/cart/list' class="go-cart"> <span class="icon-cart">&nbsp;</span> 购课车&nbsp;&nbsp; <span id="shoppingCarCount" class="color1 fontsize16">0</span>&nbsp;&nbsp; <span class="color9 font-s ">></span> </a> </div>
          <div class="clear"></div>
        </div>
      </div>
    </div>
  </div>
  <!--导航 end--> 
</div>
<script type="text/javascript">
$(document).ready(function(){
  var _url='/cart/count';
  jQuery.ajax({
    type: "GET",
    url: _url,
    dataType: "json", 
    async:false,
    success: function(data){
      	$("#shoppingCarCount").html(data.count);
    }
  })
})
</script>